package com.studio49.exmple.common.util;

import java.util.Random;
import java.util.UUID;

public class UUIDUtil {
	
	/**
	 * 防止原生uuid重复
	 * @return
	 */
	public static String myUUID(){
		String uuid = UUID.randomUUID().toString();
		String ranEight = String.format("%08d", new Random().nextInt(99999999));
		return uuid +"--"+ ranEight;
	}
	
	
}
